package com.cdks.wuxiu.api.service;

import com.cdks.wuxiu.entity.mysql.BannedUserInfo;
import com.cdks.wuxiu.entity.mysql.UserBaseInfo;
import com.cdks.wuxiu.entity.mysql.UserLoginInfo;

/**
 * 账号服务类
 */
public interface AccountService {
    UserBaseInfo userRegister(String phone, int branch, String udid);   
    UserLoginInfo getLoginInfo(long userId);
    
    int deleteAccount(UserBaseInfo userInfo);
    int saveLoginInfo(UserLoginInfo loginInfo, boolean isNew);
    int checkAccount(long userId);
    int updateDeviceInfo(long userId, String udid);

    BannedUserInfo checkAccount(long userId, String udid, String phone);
    BannedUserInfo checkAccount(long userId, String udid);
    BannedUserInfo checkAccount(String udid, String phone);
}
